package com.jims.master.modules.tj.service; /**
 * jims
 */

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.tj.dao.TjHzConclusionDao;
import com.jims.master.modules.tj.entity.TjHzConclusion;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 * Service
 * @author 系统管理员
 * @version 2018-05-05
 */
@Service
@Transactional(readOnly = true)
public class TjHzConclusionService extends CrudService<TjHzConclusionDao, TjHzConclusion> {

	public TjHzConclusion get(String id) {
		return super.get(id);
	}
	
	public List<TjHzConclusion> findList(TjHzConclusion tjHzConclusion) {
		return super.findList(tjHzConclusion);
	}
	
	public Page<TjHzConclusion> findPage(Page<TjHzConclusion> page, TjHzConclusion tjHzConclusion) {
		return super.findPage(page, tjHzConclusion);
	}
	
	@Transactional(readOnly = false)
	public int save(TjHzConclusion tjHzConclusion) {
		return super.save(tjHzConclusion);
	}
	
	@Transactional(readOnly = false)
	public int delete(TjHzConclusion tjHzConclusion) {
		return super.delete(tjHzConclusion);
	}

	public List<TjHzConclusion> getByRecordNo(String recordNo) {
		return dao.getByRecordNo(recordNo);
	}
	
}